home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / dtptrs.z / dtptrs
Encoding:
Text File  |  2002-10-03  |  4.0 KB  |  133 lines

  1.  
  2.  
  3.  
  4. DDDDTTTTPPPPTTTTRRRRSSSS((((3333SSSS))))                                                          DDDDTTTTPPPPTTTTRRRRSSSS((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      DTPTRS - solve a triangular system of the form  A * X = B or A**T * X =
  10.      B,
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      SUBROUTINE DTPTRS( UPLO, TRANS, DIAG, N, NRHS, AP, B, LDB, INFO )
  14.  
  15.          CHARACTER      DIAG, TRANS, UPLO
  16.  
  17.          INTEGER        INFO, LDB, N, NRHS
  18.  
  19.          DOUBLE         PRECISION AP( * ), B( LDB, * )
  20.  
  21. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  22.      These routines are part of the SCSL Scientific Library and can be loaded
  23.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  24.      directs the linker to use the multi-processor version of the library.
  25.  
  26.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  27.      4 bytes (32 bits). Another version of SCSL is available in which integers
  28.      are 8 bytes (64 bits).  This version allows the user access to larger
  29.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  30.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  31.      only one of the two versions; 4-byte integer and 8-byte integer library
  32.      calls cannot be mixed.
  33.  
  34. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  35.      DTPTRS solves a triangular system of the form A * X = B or A**T * X = B,
  36.      where A is a triangular matrix of order N stored in packed format, and B
  37.      is an N-by-NRHS matrix.  A check is made to verify that A is nonsingular.
  38.  
  39.  
  40. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  41.      UPLO    (input) CHARACTER*1
  42.              = 'U':  A is upper triangular;
  43.              = 'L':  A is lower triangular.
  44.  
  45.      TRANS   (input) CHARACTER*1
  46.              Specifies the form of the system of equations:
  47.              = 'N':  A * X = B  (No transpose)
  48.              = 'T':  A**T * X = B  (Transpose)
  49.              = 'C':  A**H * X = B  (Conjugate transpose = Transpose)
  50.  
  51.      DIAG    (input) CHARACTER*1
  52.              = 'N':  A is non-unit triangular;
  53.              = 'U':  A is unit triangular.
  54.  
  55.      N       (input) INTEGER
  56.              The order of the matrix A.  N >= 0.
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. DDDDTTTTPPPPTTTTRRRRSSSS((((3333SSSS))))                                                          DDDDTTTTPPPPTTTTRRRRSSSS((((3333SSSS))))
  71.  
  72.  
  73.  
  74.      NRHS    (input) INTEGER
  75.              The number of right hand sides, i.e., the number of columns of
  76.              the matrix B.  NRHS >= 0.
  77.  
  78.      AP      (input) DOUBLE PRECISION array, dimension (N*(N+1)/2)
  79.              The upper or lower triangular matrix A, packed columnwise in a
  80.              linear array.  The j-th column of A is stored in the array AP as
  81.              follows:  if UPLO = 'U', AP(i + (j-1)*j/2) = A(i,j) for 1<=i<=j;
  82.              if UPLO = 'L', AP(i + (j-1)*(2*n-j)/2) = A(i,j) for j<=i<=n.
  83.  
  84.      B       (input/output) DOUBLE PRECISION array, dimension (LDB,NRHS)
  85.              On entry, the right hand side matrix B.  On exit, if INFO = 0,
  86.              the solution matrix X.
  87.  
  88.      LDB     (input) INTEGER
  89.              The leading dimension of the array B.  LDB >= max(1,N).
  90.  
  91.      INFO    (output) INTEGER
  92.              = 0:  successful exit
  93.              < 0:  if INFO = -i, the i-th argument had an illegal value
  94.              > 0:  if INFO = i, the i-th diagonal element of A is zero,
  95.              indicating that the matrix is singular and the solutions X have
  96.              not been computed.
  97.  
  98. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  99.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  100.  
  101.      This man page is available only online.
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.